import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-log-mgmt',
  templateUrl: './log-mgmt.component.html',
  styleUrls: ['./log-mgmt.component.less']
})
export class LogMgmtComponent implements OnInit {
  isVisable: boolean = false
  date:any
  constructor() { }
  mock_data = [
    {
      category:'用户操作',
      type:'用户登陆',
      people:'admin',
      create_time:'2020-10-02 09:00'
    },
    {
      category:'用户操作',
      type:'用户权限修改',
      people:'王工',
      create_time:'2020-10-02 09:00'
    },
    {
      category:'系统异常',
      type:'系统崩溃',
      people:'系统',
      create_time:'2020-10-02 15:00'
    },
    {
      category:'系统异常',
      type:'数据库无法正常访问',
      people:'系统',
      create_time:'2020-10-05 17:00'
    }
  ]
  ngOnInit(): void {
  }

}
